package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("itrip_user")
public class ItripUser implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("userCode")
    private String userCode;
    @TableField("userPassword")
    private String userPassword;
    @TableField("userType")
    private Integer userType;
    @TableField("flatID")
    private Long flatID;
    @TableField("userName")
    private String userName;
    @TableField("weChat")
    private String weChat;
    @TableField("QQ")
    private String QQ;
    @TableField("weibo")
    private String weibo;
    @TableField("baidu")
    private String baidu;
    @TableField("activated")
    private int activated;
    @TableField("creationDate")
    private Date creationDate;
    @TableField("createdBy")
    private Long createdBy;
    @TableField("modifyDate")
    private Date modifyDate;
    @TableField("modifiedBy")
    private Long modifiedBy;
}
